-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DUOS-2898] Switch more hyperscript-helpers to JSX #2470
Conversation
461a486
to
5daddbc
Compare
aria-haspopup="true" | ||
aria-expanded="false" | ||
onClick={onOpen} | ||
disabled={disabled} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like this attribute is not allowed here (and indeed, there are other non-standard attributes scattered across the older hyperscript), but I favor keeping this (and others) here to lessen the potential for regressions.
<div className='data-update-section'> | ||
<h2>1. Dataset Information</h2> | ||
<FormField | ||
id="datasetName" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm curious about the double quotes not triggering our eslint rule:
"quotes": ["warn", "single", {"avoidEscape": true, "allowTemplateLiterals": true}], // Checks for single quote usage where possible
Not critical for this PR, but we should investigate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! 👍🏽
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Addresses
https://broadworkbench.atlassian.net/browse/DUOS-2898
Summary
Follow up to #2397 and #2438 . Switches more components from
react-hyperscript-helpers
to JSX.Note: now that we are getting down to the last set of components, some of the code requires functional changes to work. Please test these out.
Have you read Terra's Contributing Guide lately? If not, do that first.